package org.luxor;

import org.luxor.cloud.config.properties.ExampleCloudProperties;
import org.luxor.commons.security.annotation.EnableOAuth2ResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * 启动类
 *
 * @author Mr.Yan  @date 2019/9/19
 */
@SpringBootApplication
@EnableOAuth2ResourceServer
@EnableConfigurationProperties({ExampleCloudProperties.class})
public class CloudExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudExampleApplication.class, args);
    }

}
